package cc.bookcloud.tool.ocr;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.ApplicationContext;

@MapperScan({"cc.bookcloud.tool.ocr"})
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class OCRApiApplication {

	public static void main(String[] args) {
		/**
		 *  主方法启动入口
		 */
		ApplicationContext ctx = SpringApplication.run(OCRApiApplication.class, args);
		// 获取Spring容器中所有bean的名称
		String[] beanDefinitionNames = ctx.getBeanDefinitionNames();
		//for(int i=0;i<beanDefinitionNames.length;i++){
			//System.out.println("====> "+beanDefinitionNames[i]);
		//}
		// 验证端口的连通性SPI
		// 定义接口属性
	}

}
